package org.glow.changgou.goods.pojo;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @Author Glow
 * @Date 2022-09-19 11:45:14
 * @Description
 * @Version 1.0
 */

@ApiModel(description = "Brand",value = "Brand")
@TableName(value="tb_brand")
@Data
public class Brand implements Serializable {

    @ApiModelProperty(value = "品牌id",required = false)
    @TableId(value = "id")
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Integer id;//品牌id
    @ApiModelProperty(value = "品牌名称",required = false)
    @Column(name = "name")
    private String name;//品牌名称
    @ApiModelProperty(value = "品牌图片地址",required = false)
    @Column(name = "image")
    private String image;//品牌图片地址
    @ApiModelProperty(value = "品牌的首字母",required = false)
    @Column(name = "letter")
    private String letter;//品牌的首字母
    @ApiModelProperty(value = "排序",required = false)
    @Column(name = "seq")
    private Integer seq;//排序


    //get方法
    public Integer getId() {
        return id;
    }

    //set方法
    public void setId(Integer id) {
        this.id = id;
    }
    //get方法
    public String getName() {
        return name;
    }

    //set方法
    public void setName(String name) {
        this.name = name;
    }
    //get方法
    public String getImage() {
        return image;
    }

    //set方法
    public void setImage(String image) {
        this.image = image;
    }
    //get方法
    public String getLetter() {
        return letter;
    }

    //set方法
    public void setLetter(String letter) {
        this.letter = letter;
    }
    //get方法
    public Integer getSeq() {
        return seq;
    }

    //set方法
    public void setSeq(Integer seq) {
        this.seq = seq;
    }


}
